package org.example;

import org.example.api.ISomeService;
import org.example.proxy.RpcProxy;

/**
 * Hello world!
 */
public class RpcConsumer {
    public static void main(String[] args) {
        ISomeService service = RpcProxy.create(ISomeService.class);
        System.out.println(service.doSomeThing("消费者调用"));
        System.out.println(service.sendData("------------"));
    }
}
